<?php

namespace App\Http\Controllers\Common;

use App\Model\Common\Slider;

class IndexController extends CommonController
{
    public function index()
    {
        $sliders = Slider::getSliders('home');
        $this->assign('sliders', $sliders);
        $this->assignSiteInfo('index/index');

        return $this->fetch();
    }

    public function login()
    {
        return $this->fetch();
    }

    public function register()
    {
    }
}
